<?php

namespace app\admin\controller\guid;
require_once('guid.php'); //调用类库文件

$computer_name = $_SERVER["SERVER_NAME"];
$ip = $_SERVER["SERVER_ADDR"];
$guid = new Guid($computer_name, $ip);
print $guid->toString();
//输出结果：3238D32E-807C-B1C4-01C4-FD1346D32110
?>